package com.lzb.musicplayer;


import android.os.Bundle;
import android.view.View;

import androidx.databinding.ViewDataBinding;

import com.lzb.musicplayer.audio.AudioPlayerManager;


public abstract class BasePlayerActivity<DB extends ViewDataBinding> extends BaseAc<DB> implements View.OnClickListener
        , AudioPlayerManager.PlaybackStateListener {
    private AudioPlayerManager playerManager;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        playerManager = AudioPlayerManager.getInstance(this);
        playerManager.addListener(this);
    }
}
